{% extends 'base.html' %}
{% block content %}

{% if user.is_authenticated %}
    <H1> New Thread </H1>
    <form action="" method="post">
    {% csrf_token %}
    Thread title <br>
    {{ threadform.title }}
    <br>
    Forum Post <br>
    {{ threadform.body}}
    <br>
    <input type="submit" value="Submit" />
    </form>
{% else %}
    You shouldn't be here
{% endif %}
{% endblock %}